package com.ld.security.auth.common.feign;


import com.ld.security.auth.common.base.entity.JwtPermission;
import com.ld.security.common.core.base.po.EntitysPo;
import com.ld.security.common.core.base.vo.DataVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value =  "ld-auth-server")
@RequestMapping("/rpc/sysTree")
public interface TreeFeign {

    @PostMapping("/initPermission")
    DataVo initPermission(@RequestBody EntitysPo<JwtPermission> po);



}
